set SPAdminTool=%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe
set PackageFile=DVK.SP2007.wsp
set PackageName=DVK.SP2007.wsp

echo Deleting solution %PackageName% from SharePoint ...
"%SPAdminTool%" -o deletesolution -name "%PackageName%"
